﻿<RecordOperationSpec 
	xmlns="bb_appfx_recordoperation"
	xmlns:common="bb_appfx_commontypes" 
	ID="9be0b97c-dfc0-4e96-9154-c7e0607d25ff" 
	Name="Purge Service Bus Adapter Log" 
	Description="Purge Service Bus Adapter Log"
	Author="Blackbaud Professional Services"
	OperationType="Delete"
	common:SecurityUIFolder="Service Bus Adapter"
  HasID="false"
	>

	<SPRecord>
		<SPOperationImplementation SPName="USR_USP_SERVICEBUSADAPTERLOG_PURGE">
			<common:CreateProcedureSQL>
				<![CDATA[
create procedure dbo.USR_USP_SERVICEBUSADAPTERLOG_PURGE
(
	@CHANGEAGENTID uniqueidentifier
)
as 
begin
	delete from dbo.USR_SERVICEBUSADAPTERLOG
	return 0;	
end
				]]>
			</common:CreateProcedureSQL>
		</SPOperationImplementation>
	</SPRecord>

	<!-- optionally, offer a prompt before executing the record operation -->
	<Prompt>
		<StandardPrompt Text="Are you sure you wish to purge the service bus adapter log?" />
	</Prompt>

</RecordOperationSpec>